home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
07
/
6
/
DISK0760.ZIP
/
CURSOR.INC
< prev
next >
Wrap
Text File
|
1988-02-04
|
464b
|
32 lines
Procedure Cursor(ch_in,cl_in:Byte);
Var
Regs : Registers;
Begin
With Regs do
Begin
AH := 1;
CH := ch_in;
CL := cl_in;
Intr($10,Regs);
End;
End; {Cursor}
Procedure CursorOn;
Begin
Case MG_ScreenType of
'C' : Cursor(6,7);
'M' : Cursor(12,13);
End; {case}
End; {CursorOn}
Procedure CursorOff;
Var
Regs : Registers;
Begin
With Regs do
Begin
AH := 1;
CH := CH or $10;
End;
Intr($10,Regs);
End; {CursorOff}